package com.levi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.levi.domain.Permission;
import com.levi.mapper.PermissionMapper;
import com.levi.service.PermissionService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shentong
 * @date 2021/10/27 21:22
 * @Description TODO
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission>
        implements PermissionService {

    @Override
    public List<Permission> getPermissionListByUsername(String username) {
        return baseMapper.getPermissionListByUsername(username);
    }
}
